﻿<UserControl x:Class="DocManagerControls.Controls.PaginatorControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" >
    <GroupBox Height="Auto" HorizontalAlignment="Left"  Name="GroupBox1" VerticalAlignment="Bottom" Padding="2" Width="Auto">
        <StackPanel>
            <StackPanel Orientation="Horizontal" >
                <Button Height="20" Margin="1" Name="btnFirst"  Width="30" Content="&lt;&lt;" Click="btnFirst_Click"  Opacity="0.75" />
                <Button Height="20" Margin="1" Width="30" Name="btnPrev" Click="btnPrev_Click"  Opacity="0.75" Content="&lt;" />
                <TextBox Height="20" Width="70" Margin="1"  HorizontalContentAlignment="Center"  Name="lblPageNumber"  VerticalAlignment="Bottom" Text="1"/>
                <Button Height="20"  Margin="1" Name="btnNext"  Width="30" Content="&gt;" Click="btnNext_Click"  Opacity="0.75" />
                <Button Height="20" HorizontalAlignment="Right" Width="30" Name="btnLast" Click="btnLast_Click"  Opacity="0.75" Content="&gt;&gt;" />
                <Slider Name="QuantiPerPageSlider" Height="Auto" Width="34" VerticalAlignment="Center" Margin="5,1,1,1" 
                        Minimum="6" Maximum="50" Value="20" ValueChanged="QuantiPerPageSlider_ValueChanged" ToolTip="Quanti dati mostro per pagina" />
                <TextBlock Height="20" Width="26" Name="txtBQuantePerPagina" Text="" TextAlignment="Center" VerticalAlignment="Center" Margin="1" />
            </StackPanel>
            <Label Height="24" HorizontalAlignment="Left"  Name="lblPagingInfo" VerticalAlignment="Top" Width="282"/>
        </StackPanel>
    </GroupBox>
</UserControl>
